package com.baoyouqun.domain.CreateCmd;

import com.baoyouqun.domain.Enum.DemandInteractStatusEnum;
import com.baoyouqun.domain.Enum.DemandInteractTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.io.Serializable;

@Data
public class DemandInteractCreateCmd implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "关联需求ID")
    @NotBlank(message = "关联需求ID不能为空")
    private String demandId;

    @ApiModelProperty(value = "操作用户ID")
    private String userId;

    @ApiModelProperty(value = "操作类型（1-点赞，-1-点踩）")
    private DemandInteractTypeEnum type;

    @ApiModelProperty(value = "状态（0-取消，1-有效）")
    private DemandInteractStatusEnum status;
    

}